Guild icon
Project Sekai
🔒 BYUCTF 2023 / ✅-pwn-scooteradmin1
Avatar
ScooterAdmin1 - 500 points
Category: Pwn Description: Nobody can mess with my beauties because I wrote the authentication routines myself! The source, binary, and libc are hidden in a directory from ScooterWeb, with the directory name equal to unused secret message :) nc byuctf.xyz 40012 Files: No files. Tags: Easy
Sutx pinned a message to this channel. 05/19/2023 12:52 PM
Avatar
@Legoclones wants to collaborate 🤝
12:56
@rubiya wants to collaborate 🤝
Avatar
@snwo wants to collaborate 🤝
Avatar
f = fopen ("flag1.txt", "rb"); if (!f || !fgets(flag1, 64, f)) { printf("Error reading flag1\n"); exit(1); } fclose(f); f = fopen ("flag2.txt", "rb"); if (!f || !fgets(flag2, 64, f)) { printf("Error reading flag1\n"); [1] exit(1); } typo in [1]
17:16
struct con_data_t { char *error; char creds[32]; char userinput[32]; int pwfile; int acc; }; ... ret = read(0, con->userinput, 0x32 ); if (ret == 0) { con->error = error; return -1; } con->userinput[strcspn(con->userinput, "\r\n")] = 0; ret = read(con->pwfile, con->creds, 0x32); if (ret == 0) { con->error = error; return -1; } overflow in read size
Avatar
Avatar
snwo
used /ctf solve
✅ Challenge solved.
🔥 1
17:24
🩸 Well done, you got first blood!
Avatar
it was bug
Avatar
nice
Exported 12 message(s)